<template>
  <div class="app">
    <div class="container">
      <h1>二维码生成器</h1>
      <QRCodeGenerator />
    </div>
  </div>
</template>

<script setup>
import QRCodeGenerator from "./components/QRCodeGenerator.vue";
</script>

<style scoped>
.app {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.container {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 90%;
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
  font-size: 2em;
}
</style>
